home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlaqsp.z / dlaqsp
Encoding:
Text File  |  2002-10-03  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAAQQQQSSSSPPPP((((3333SSSS))))                                                          DDDDLLLLAAAAQQQQSSSSPPPP((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLAQSP - equilibrate a symmetric matrix A using the scaling factors in
  10.      the vector S
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DLAQSP( UPLO, N, AP, S, SCOND, AMAX, EQUED )
  14.  
  15.          CHARACTER      EQUED, UPLO
  16.  
  17.          INTEGER        N
  18.  
  19.          DOUBLE         PRECISION AMAX, SCOND
  20.  
  21.          DOUBLE         PRECISION AP( * ), S( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DLAQSP equilibrates a symmetric matrix A using the scaling factors in the
  38.      vector S.
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      UPLO    (input) CHARACTER*1
  42.              Specifies whether the upper or lower triangular part of the
  43.              symmetric matrix A is stored.  = 'U':  Upper triangular
  44.              = 'L':  Lower triangular
  45.  
  46.      N       (input) INTEGER
  47.              The order of the matrix A.  N >= 0.
  48.  
  49.      AP      (input/output) DOUBLE PRECISION array, dimension (N*(N+1)/2)
  50.              On entry, the upper or lower triangle of the symmetric matrix A,
  51.              packed columnwise in a linear array.  The j-th column of A is
  52.              stored in the array AP as follows:  if UPLO = 'U', AP(i + (j-
  53.              1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2n-
  54.              j)/2) = A(i,j) for j<=i<=n.
  55.  
  56.              On exit, the equilibrated matrix:  diag(S) * A * diag(S), in the
  57.              same storage format as A.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAAQQQQSSSSPPPP((((3333SSSS))))                                                          DDDDLLLLAAAAQQQQSSSSPPPP((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      S       (input) DOUBLE PRECISION array, dimension (N)
  75.              The scale factors for A.
  76.  
  77.      SCOND   (input) DOUBLE PRECISION
  78.              Ratio of the smallest S(i) to the largest S(i).
  79.  
  80.      AMAX    (input) DOUBLE PRECISION
  81.              Absolute value of largest matrix entry.
  82.  
  83.      EQUED   (output) CHARACTER*1
  84.              Specifies whether or not equilibration was done.  = 'N':  No
  85.              equilibration.
  86.              = 'Y':  Equilibration was done, i.e., A has been replaced by
  87.              diag(S) * A * diag(S).
  88.  
  89. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  90.      THRESH is a threshold value used to decide if scaling should be done
  91.      based on the ratio of the scaling factors.  If SCOND < THRESH, scaling is
  92.      done.
  93.  
  94.      LARGE and SMALL are threshold values used to decide if scaling should be
  95.      done based on the absolute size of the largest matrix element.  If AMAX >
  96.      LARGE or AMAX < SMALL, scaling is done.
  97.  
  98. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  99.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  100.  
  101.      This man page is available only online.
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.